package com.stox.services.data.provider.repository;

import java.util.List;

import com.stox.services.data.provider.repository.file.ExchangeFileRepository;
import com.stox.shared.core.model.Exchange;

public interface ExchangeRepository {
	
	ExchangeRepository INSTANCE = ExchangeFileRepository.INSTANCE;

	public Exchange findOne(Long id);
	
	public List<Exchange> findAll();
	
	public void saveAndFlush(Exchange exchange);
	
}
